package com.happycat.social.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.happycat.social.dto.SocialVoiceRoomMemberSaveDto;
import com.happycat.social.entity.SocialVoiceRoomMember;

/**
 * 房间名单Service接口
 *
 * @author jsonbin
 * @date 2020-09-10
 */
public interface ISocialVoiceRoomMemberService extends IService<SocialVoiceRoomMember> {

    /**新增名单*/
    SocialVoiceRoomMember add(SocialVoiceRoomMemberSaveDto socialVoiceRoomMemberSaveDto);

    /**批量删除*/
    Boolean del(String ids);

    /**校验某个用户是否成员*/
    Boolean check(Long svrId, int type, Long accountId);

}
